/*
 *接口编写处...
*如果接口需要做Action的权限验证，请在Action上使用属性
*如: [ApiActionPermission("Dic_报工指标",Enums.ActionPermissionOptions.Search)]
 */
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Http;
using VOL.Entity.DomainModels;
using VOL.Order.IServices;
using VOL.Core.Utilities;

namespace VOL.Order.Controllers
{
    public partial class Dic_报工指标Controller
    {
        private readonly IDic_报工指标Service _service;//访问业务代码
        private readonly IHttpContextAccessor _httpContextAccessor;

        [ActivatorUtilitiesConstructor]
        public Dic_报工指标Controller(
            IDic_报工指标Service service,
            IHttpContextAccessor httpContextAccessor
        )
        : base(service)
        {
            _service = service;
            _httpContextAccessor = httpContextAccessor;
        }

        //public ActionResult 根据定额内容获取报工指标()
        //{
        //    WebResponseContent webResponse = new WebResponseContent();
        //    Bus_合同分拆确认 bus_合同分拆确认 = new Bus_合同分拆确认();
        //    var list = _service.根据定额内容获取报工指标(bus_合同分拆确认);
        //    webResponse.Data = list;
        //    webResponse.OK();
        //    return Json(webResponse);
        //}
    }
}
